package com.yxw.yxnet_cd_center.customer_service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yxw.yxnet_cd_center.common.dto.PageVO;
import com.yxw.yxnet_cd_center.customer_service.dto.ExportStandStatisticsDTO;
import com.yxw.yxnet_cd_center.customer_service.dto.StandStatisticsQueryDTO;
import com.yxw.yxnet_cd_center.customer_service.entity.YxCsStandStatisticsEntity;
import com.yxw.yxnet_cd_center.customer_service.vo.StandStatisticsVo;

import javax.servlet.http.HttpServletResponse;


/**
 * @author fangmaoxin
 * @version 1.0
 * @date 2023年9月22日
 * 客服维护统计-服务类
 */
public interface StandStatisticsService extends IService<YxCsStandStatisticsEntity> {


    /**
     * 查询客服维护统计列表
     */
    PageVO<StandStatisticsVo> selectStandStatisticsList(StandStatisticsQueryDTO dto);

    /**
     * 更新渠道活跃度统计数据
     */
    void insertStandStatistics();

    /**
     * 导出数据
     */
    void exportExcel(HttpServletResponse response, ExportStandStatisticsDTO dto);


    /**
     * 通过用户id获取客服维护统计数据
     */
    StandStatisticsVo getStandStatisticsByUserId(Long userId);
}